package com.xiaolong.common.exception;

import com.xiaolong.common.constant.SystemCodeConstant;

public class ThirdServiceExceptions extends BusinessException{
    public ThirdServiceExceptions() {
        setCode(SystemCodeConstant.THIRD_FAIL_CODE);
    }

    public ThirdServiceExceptions(String message) {
        super(message);
        setCode(SystemCodeConstant.THIRD_FAIL_CODE);
    }

    public ThirdServiceExceptions(Throwable cause) {
        super(cause);
        setCode(SystemCodeConstant.THIRD_FAIL_CODE);
    }

    public ThirdServiceExceptions(String message, Throwable cause) {
        super(message, cause);
        setCode(SystemCodeConstant.THIRD_FAIL_CODE);
    }
}
